SUBDIRS = . tests
AM_CPPFLAGS = -Wall -Werror $(MYSQL_CFLAGS) $(GLIB_CFLAGS) $(XML2_CFLAGS) -D_REENTRANT
AM_CFLAGS = -Wno-pointer-sign $(MYSQL_CFLAGS)
AM_LDFLAGS = -L/opt/local/lib/ $(LIBS) $(GLIB_LIBS) $(XML2_LIBS) $(MYSQL_LDFLAGS) $(GTHREAD_LIBS)
bin_PROGRAMS = listservers getlocation updateservers serverinfo
getlocation_SOURCES = getlocation.C geoip.cc compat.c
listservers_SOURCES = listservers.C db.c GBConfig.C compat.c
updateservers_SOURCES = updateservers.C geoip.cc db.c GBConfig.C server.c sax.c compat.c HLMasterServer.C HLServerInfo.C HL2MasterServer.C HL2ServerInfo.C
serverinfo_SOURCES = serverinfo.C db.c GBConfig.C HL2ServerInfo.C HLServerInfo.C compat.c
#test_hl2master_SOURCES = HL2MasterServer.C HL2ServerInfo.C test-hl2master.C HLMasterServer.C HLServerInfo.C
#test_hl2serverinfo_SOURCES = HL2MasterServer.C HL2ServerInfo.C test-hl2serverinfo.C HLServerInfo.C
